package com.rybbaby.tss.platform.sysTasks.service.imp;

import com.rybbaby.tss.core.web.service.imp.BaseServiceImp;
import com.rybbaby.tss.platform.sysTasks.entity.SysTasks;
import com.rybbaby.tss.platform.sysTasks.service.ISysTasksService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

/**
 * @description 任务队列数据库操作服务实现
 *
 * @author 谢进伟
 *
 * @createDate 2017-08-23 下午3:41:48
 */
@Service
@Transactional
public class SysTasksServiceImp extends BaseServiceImp<SysTasks> implements ISysTasksService {

	@Override
	public List<Map<String , Object>> adminUserIdDatasource(){
		String sql1 = "SELECT id,username FROM ums.sys_admin_user";
		List<Map<String , Object>> adminUserId_datasources = this.findForJdbc(sql1 , null);
		return adminUserId_datasources;
	}


}
